var swiper = new Swiper('.topCurrent .swiper-container', {
	autoplay: {
		disableOnInteraction: false,
		delay:2000,
	},
	pagination: {
	    el: '.swiper-pagination',
	},
	loop:true,
	navigation: {
		nextEl: '.top_next',
		prevEl: '.top_prev',
	},
});

var swiper = new Swiper('.pai_mode .swiper-container', {
	autoplay: {
		disableOnInteraction: false,
		delay:2000,
	},
	pagination: {
	    el: '.swiper-pagination',
	},
	loop:true,
	navigation: {
		nextEl: '.top_next',
		prevEl: '.top_prev',
	},
});


$(".pai_brand ul li").click(function() {
    $(".pai_brand ul li").eq($(this).index()).addClass("pai_cur").siblings().removeClass('pai_cur');
    $(".pai_brand_box div").hide().eq($(this).index()).show();
});


var galleryThumbs = new Swiper('.pai_doc .gallery-thumbs', {
    slidesPerView: 8,
    freeMode: true,
    watchSlidesVisibility: true,
    watchSlidesProgress: true,
});
var galleryTop = new Swiper('.pai_doc .gallery-top', {
    spaceBetween: 10,
    navigation: {
        nextEl: '.team_next',
        prevEl: '.team_prev',
    },
    thumbs: {
        swiper: galleryThumbs
    },
});